package com.jd.finance.oss.apiClient;


import com.jd.finance.oss.model.User;
import com.jd.finance.result.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ClassName UserClient
 * @Description TODO
 * @Author LiQingBo
 * @Date 2022/5/30 15:09
 */
@FeignClient(
        value = "core",
        path = "/finance"
)
public interface UserClient {

    @GetMapping("/api/core/userCenter/getUserInfoS/{uid}")//被调用的服务Controller中的方法的全路径
    User getUserInfoS(@PathVariable("uid") Integer uid);
}
